package com.legendshop.openportal.sdk.client.http;

import cn.hutool.http.HttpResponse;
import com.legendshop.openportal.sdk.model.OpenResult;
import com.legendshop.openportal.sdk.model.BaseResponse;

/**
 * @author jzh
 * @version 1.0.0
 * @title HttpResponseHandler
 * @date 2024/6/18 11:02
 * @description：http响应处理器
 */
public interface HttpResponseHandler<T> {

    /**
     * 响应处理
     * @param response
     * @return
     */
    OpenResult<T> handle(HttpResponse response);
}
